<template>
  <div class='basicinformation-box padding-15 flex flex-column'>
    <div class="info-item flex flex-column marginb-15" v-for="(item, index) in securityList" :key=index>
      <div class="info-head flex marginb-5">
        <div class="info-title marginr-15">
          {{ item.title }}
        </div>
        <div class="info-more flex">
          <span class="text">总</span>
          <span class="sums"> {{ item.count }}</span>
          <span class="text unit">件</span>
        </div>
      </div>
      <DashboardProgress :min="item.min" :max="item.max" unit="操作"></DashboardProgress>
    </div>
  </div>
</template>

<script>
import DashboardProgress from '@/components/Dashboard/Progress';
export default {
  components: {
    DashboardProgress
  },
  data () {
    return {
      securityList: [{
        title: '安全检查件',
        count: 0,
        min: 25,
        max: 75
      },
      {
        title: '单位自查',
        count: 0,
        min: 35,
        max: 65
      }, {
        title: '巡检事件',
        count: 0,
        min: 77,
        max: 33
      },
      {
        title: '安全演练',
        count: 0,
        min: 10,
        max: 90
      }
      ]
    };
  },
  computed: {},
  watch: {},
  methods: {

  },
  created () {

  },
  mounted () {

  },

}
</script>

<style lang='less' scoped>
.info-head {
  .info-title {
    font-size: 14px;
    color: #d9e7ff;
  }
  .info-more {
    align-items: center;
    gap: 5px;
    .text {
      font-size: 12px;
      color: #8fabbf;
    }
    .sums {
      font-family: Oswald, Oswald;
      font-weight: bold;
      font-size: 18px;
      color: #30dcff;
    }
  }
}
</style>